<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::MatrixStackStd Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="classgbmath_1_1_matrix_stack_std.html">MatrixStackStd</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classgbmath_1_1_matrix_stack_std-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::MatrixStackStd Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The stack of matrices based on std::stack.  
 <a href="classgbmath_1_1_matrix_stack_std.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3801d8a3dd176afc5df73822ce97ba1d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a3801d8a3dd176afc5df73822ce97ba1d">MatrixStackStd</a> ()</td></tr>
<tr class="separator:a3801d8a3dd176afc5df73822ce97ba1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f11149223497ae48944a1c371d5455"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#aa8f11149223497ae48944a1c371d5455">~MatrixStackStd</a> ()</td></tr>
<tr class="separator:aa8f11149223497ae48944a1c371d5455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad186272a6687b9ec813112d401bf901d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#ad186272a6687b9ec813112d401bf901d">empty</a> () const </td></tr>
<tr class="separator:ad186272a6687b9ec813112d401bf901d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4952886bece4333018061dca2d99e9ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a4952886bece4333018061dca2d99e9ed">push</a> ()</td></tr>
<tr class="separator:a4952886bece4333018061dca2d99e9ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa983b37992e159f6052d32543c51b691"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#aa983b37992e159f6052d32543c51b691">pop</a> ()  throw (std::runtime_error&amp;)</td></tr>
<tr class="separator:aa983b37992e159f6052d32543c51b691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21fa16532e81e682ea4dcd5c19764031"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a21fa16532e81e682ea4dcd5c19764031">top</a> ()</td></tr>
<tr class="separator:a21fa16532e81e682ea4dcd5c19764031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18be543e2e3def45fff1a65560a4072f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a18be543e2e3def45fff1a65560a4072f">top</a> () const </td></tr>
<tr class="separator:a18be543e2e3def45fff1a65560a4072f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cf59a62da2863a228850fb70c38de29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a5cf59a62da2863a228850fb70c38de29">loadIdentity</a> ()  throw (std::runtime_error&amp;)</td></tr>
<tr class="separator:a5cf59a62da2863a228850fb70c38de29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab798189bb9174ce01ffe9e4441ef24fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#ab798189bb9174ce01ffe9e4441ef24fd">load</a> (const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;m)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:ab798189bb9174ce01ffe9e4441ef24fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m;  <a href="#ab798189bb9174ce01ffe9e4441ef24fd">More...</a><br/></td></tr>
<tr class="separator:ab798189bb9174ce01ffe9e4441ef24fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc02dc53009891a0af3a1451dd215489"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#acc02dc53009891a0af3a1451dd215489">mul</a> (const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;m)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:acc02dc53009891a0af3a1451dd215489"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m_stack.top() * m;  <a href="#acc02dc53009891a0af3a1451dd215489">More...</a><br/></td></tr>
<tr class="separator:acc02dc53009891a0af3a1451dd215489"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab88a77587c943da1ef309a3264ab892f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#ab88a77587c943da1ef309a3264ab892f">mul_local</a> (const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;m)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:ab88a77587c943da1ef309a3264ab892f"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m * m_stack.top();  <a href="#ab88a77587c943da1ef309a3264ab892f">More...</a><br/></td></tr>
<tr class="separator:ab88a77587c943da1ef309a3264ab892f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fef89a8c25929e6961deb1d0a017779"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a8fef89a8c25929e6961deb1d0a017779">scale</a> (float x, float y, float z)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:a8fef89a8c25929e6961deb1d0a017779"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m_stack.top() * mscaling;  <a href="#a8fef89a8c25929e6961deb1d0a017779">More...</a><br/></td></tr>
<tr class="separator:a8fef89a8c25929e6961deb1d0a017779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c4fea839dff3ecafcc4491a0a5d4b34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a5c4fea839dff3ecafcc4491a0a5d4b34">rotate</a> (const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;ax, float angle)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:a5c4fea839dff3ecafcc4491a0a5d4b34"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m_stack.top() * mrotate;  <a href="#a5c4fea839dff3ecafcc4491a0a5d4b34">More...</a><br/></td></tr>
<tr class="separator:a5c4fea839dff3ecafcc4491a0a5d4b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9e029174664569d596f999c7f8834e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a8c9e029174664569d596f999c7f8834e">rotate</a> (const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;q)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:a8c9e029174664569d596f999c7f8834e"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m_stack.top() * mrotate;  <a href="#a8c9e029174664569d596f999c7f8834e">More...</a><br/></td></tr>
<tr class="separator:a8c9e029174664569d596f999c7f8834e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a646c14c796d0a145b718eed3d1e114c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a646c14c796d0a145b718eed3d1e114c0">translate</a> (float x, float y, float z)  throw (std::runtime_error&amp;)</td></tr>
<tr class="memdesc:a646c14c796d0a145b718eed3d1e114c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m_stack.top() * mtranslate;  <a href="#a646c14c796d0a145b718eed3d1e114c0">More...</a><br/></td></tr>
<tr class="separator:a646c14c796d0a145b718eed3d1e114c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe7e93ead06ce11ea8fa0fdcfe72fa22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#afe7e93ead06ce11ea8fa0fdcfe72fa22">translate</a> (const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;v)</td></tr>
<tr class="memdesc:afe7e93ead06ce11ea8fa0fdcfe72fa22"><td class="mdescLeft">&#160;</td><td class="mdescRight">m_stack.top() = m_stack.top() * mtranslate;  <a href="#afe7e93ead06ce11ea8fa0fdcfe72fa22">More...</a><br/></td></tr>
<tr class="separator:afe7e93ead06ce11ea8fa0fdcfe72fa22"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a1ff7119e4a75eb308faac83962710bc2"><td class="memItemLeft" align="right" valign="top">std::stack&lt; <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html#a1ff7119e4a75eb308faac83962710bc2">m_stack</a></td></tr>
<tr class="separator:a1ff7119e4a75eb308faac83962710bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The stack of matrices based on std::stack. </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00029">29</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3801d8a3dd176afc5df73822ce97ba1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::MatrixStackStd::MatrixStackStd </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00033">33</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa8f11149223497ae48944a1c371d5455"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual gbmath::MatrixStackStd::~MatrixStackStd </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00034">34</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad186272a6687b9ec813112d401bf901d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::MatrixStackStd::empty </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00042">42</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab798189bb9174ce01ffe9e4441ef24fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::load </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;&#160;</td>
          <td class="paramname"><em>m</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00100">100</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5cf59a62da2863a228850fb70c38de29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::loadIdentity </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00089">89</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="acc02dc53009891a0af3a1451dd215489"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::mul </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;&#160;</td>
          <td class="paramname"><em>m</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m_stack.top() * m; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00111">111</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab88a77587c943da1ef309a3264ab892f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::mul_local </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1mat44.html">mat44</a> &amp;&#160;</td>
          <td class="paramname"><em>m</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m * m_stack.top(); </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00122">122</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa983b37992e159f6052d32543c51b691"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::pop </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00058">58</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4952886bece4333018061dca2d99e9ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::push </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00047">47</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c4fea839dff3ecafcc4491a0a5d4b34"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::rotate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>ax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m_stack.top() * mrotate; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00146">146</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8c9e029174664569d596f999c7f8834e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::rotate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m_stack.top() * mrotate; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00159">159</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8fef89a8c25929e6961deb1d0a017779"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::scale </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m_stack.top() * mscaling; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00133">133</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a21fa16532e81e682ea4dcd5c19764031"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1mat44.html">mat44</a>&amp; gbmath::MatrixStackStd::top </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00069">69</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a18be543e2e3def45fff1a65560a4072f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structgbmath_1_1mat44.html">mat44</a>&amp; gbmath::MatrixStackStd::top </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00079">79</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="a646c14c796d0a145b718eed3d1e114c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::translate </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error &amp;</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m_stack.top() * mtranslate; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00172">172</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<a class="anchor" id="afe7e93ead06ce11ea8fa0fdcfe72fa22"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::MatrixStackStd::translate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>m_stack.top() = m_stack.top() * mtranslate; </p>

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00184">184</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a1ff7119e4a75eb308faac83962710bc2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::stack&lt;<a class="el" href="structgbmath_1_1mat44.html">mat44</a>&gt; gbmath::MatrixStackStd::m_stack</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="matrix__stack_8h_source.html#l00189">189</a> of file <a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="matrix__stack_8h_source.html">matrix_stack.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
